package com.yyc.tool.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

@Data
@Entity
@ToString
public class UserInfo {

    @Id
    @NotNull
    private String userId;
    private String userName;
    private String password;
    private String sex;
    private String phone;
}
